// Copyright DustedPixels.com 2008. All rights reserved.

package com.dustedpixels.jasmin.cpu;

import com.dustedpixels.jasmin.common.Timeline;

/**
 * @author micapolos@gmail.com (Michal Pociecha-Los)
 */
public final class TimelineImpl implements Timeline {
  private long cycles;

  public TimelineImpl() {
    this.cycles = 0;
  }
  
  public long cycles() {
    return cycles;
  }

  public void sleep(long cycles) {
    this.cycles += cycles;
  }
}
